package com.jyxd.web.hiscz.dto.checkout_report.Apply;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.jyxd.web.hiscz.dto.CodingDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("标本信息")
@Data
public class SpecimenDto {
    @JsonProperty(value = "SpecimenNo")
    @ApiModelProperty(name = "标本号")
    private String specimenNo;

    @JsonProperty(value = "SpecimenType")
    @ApiModelProperty(name = "标本类型")
    private CodingDto specimenType;

    @JsonProperty(value = "SpecimenStatus")
    @ApiModelProperty(name = "标本状态")
    private CodingDto specimenStatus;

    @JsonProperty(value = "SpecimenSourceSite")
    @ApiModelProperty(name = "标本来源部位")
    private String specimenSourceSite;

    @JsonProperty(value = "SpecimenSourceAmount")
    @ApiModelProperty(name = "病理：送检组织数量")
    private SpecimenSourceAmountDto specimenSourceAmount;

    @JsonProperty(value = "SpecimenCollectionSite")
    @ApiModelProperty(name = "检验：标本收集来源子部位明细检查：检查子部位病理：取材部位")
    private CodingDto specimenCollectionSite;

    @JsonProperty(value = "SpecimenDescription")
    @ApiModelProperty(name = "标本采集注意事项")
    private String specimenDescription;

    @JsonProperty(value = "SpecimenCollectionDT")
    @ApiModelProperty(name = "采样时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date specimenCollectionDT;

    @JsonProperty(value = "SpecimenReceiveDT")
    @ApiModelProperty(name = "样本接收时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date specimenReceiveDT;

    @JsonProperty(value = "SpecimenCollectionMethod")
    @ApiModelProperty(name = "标本收集方法")
    private CodingDto specimenCollectionMethod;
}
